package com.jetlag.api.controller;

import com.jetlag.api.domain.UserVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @CalssName UserController
 * @Description TODO
 * @Author jetlag
 * @Date 2018/9/6 10:26
 **/
@RestController
@RequestMapping("/api/user")
public class UserController {


    @RequestMapping("/getUser")
    public UserVO getUser(){
        UserVO userVO = new UserVO();
        System.out.println("sdfs1diuosjh");
        userVO.setName("张三");

        return userVO;
    }

}
